package com.atguigu.paymentdemo.config;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Mp的整合
 */

@MapperScan(basePackages = "com.atguigu.paymentdemo.mapper") // 扫描所有的mapper组件
@Configuration
@EnableTransactionManagement
public class MPConfig {
}
